﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="editdongtai.aspx.cs" Inherits="weba.editdongtai" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="LinqDataSource1" AllowPaging="True" CellPadding="4" ForeColor="#333333" GridLines="None">
            <AlternatingRowStyle BackColor="White" />
            <Columns>
                <asp:BoundField DataField="Id" HeaderText="Id" ReadOnly="True" SortExpression="Id" />
                <asp:BoundField DataField="tit" HeaderText="tit" ReadOnly="True" SortExpression="tit" />
                <asp:BoundField DataField="discp" HeaderText="discp" ReadOnly="True" SortExpression="discp" />
                <asp:BoundField DataField="shijian" HeaderText="shijian" ReadOnly="True" SortExpression="shijian" />
                <asp:HyperLinkField DataNavigateUrlFields="Id" DataNavigateUrlFormatString="bianjidt.aspx?id={0}" HeaderText="进行编辑" Text="编辑文章内容"/>
            </Columns>
            <EditRowStyle BackColor="#2461BF" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F5F7FB" />
            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
            <SortedDescendingCellStyle BackColor="#E9EBEF" />
            <SortedDescendingHeaderStyle BackColor="#4870BE" />
        </asp:GridView>
        <asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="weba.sjklqDataContext" EntityTypeName="" Select="new (Id, tit, discp, shijian)" TableName="dongtai">
        </asp:LinqDataSource>
    
    </div>
    </form>
</body>
</html>
